Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create conditional compilation flag for stack maps #1088

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Conversation

dwightguth
Copy link
Collaborator

This is one of a sequence of PRs designed to make progress towards generating stack maps so that we can trigger the GC during allocation rather than in between rewrite steps only. The first few PRs will be preliminaries that add small features that will be used by future PRs.

In this PR we are creating a cmake compilation flag that enables or disables the new gc strategy. It is disabled by default. Right now this flag is unused, but it will be used in future PRs to guard the in-progress functionality behind a flag so that it doesn't break anything. In the future, once the feature is ready for testing, we will make it enabled by default, and eventually delete the old behavior.

The cmake flag can then be accessed both by cmake and as a preprocessor directive or boolean constant in C++ code.

@rv-jenkins rv-jenkins changed the base branch from master to develop June 4, 2024 18:48
@dwightguth dwightguth marked this pull request as ready for review June 4, 2024 19:31
@dwightguth dwightguth requested review from Baltoli and theo25 June 4, 2024 19:31
@rv-jenkins rv-jenkins merged commit 2e765d0 into develop Jun 5, 2024
10 checks passed
@rv-jenkins rv-jenkins deleted the new_gc_flag branch June 5, 2024 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants